package com.service.consumer.service;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

import com.service.consumer.serviceImpl.FeignServiceImpl;

@FeignClient(name="server-01",fallback=FeignServiceImpl.class)
public interface FeignService {

	@GetMapping("/")
	String Feign(@RequestParam(value = "name") String name);
}
